const db=require('../config/db');

exports.queryAll=()=>{
    return db.query('select * from `videotab`');
}
exports.insertVideo=(video)=>{
    return db.query('INSERT INTO `tik_vue_db`.`videotab`(`video_name`, `video_info`, `video_path`,`video_status`) VALUES (?,?,?,?)',video);
}